{% extends "base.html" %}


{% block body_page %}
<script type="text/javascript">
var d=new Date()
$(document).ready(function(e) {
    $('#get').change(function(){
                $.get("getdelpackage/?s="+$(this).find(':selected').val()+"&t="+d.getTime(),function(result){
                        $("#box").html(result);
            });
                
        })
});
</script>

<div class="list">
    <div class="line">
        <form id="form1" name="form1" method="post" action="">
            <p>
              <label for="select1"></label>
                要清理包的项目
                <p>
                 <select name="s" id="get">
                    <option>选择项目</option>
                    {% for pro in pros %}
                         <!--<option value="{{escape(str(pro.id))}}">{{escape(pro.project)}}</option>-->
                         <option value="{{escape(str(pro.project))}}">{{escape(pro.project)}}</option>
                    {% end %}
                  </select>
                  <input type="submit" name="button1" id="button1" value="提交" />
                  <!-- package history -->
                 <div id="box">
                 </div>
              </p>
            </p>
        </form>
	</div>
</div>
{% end %}
